<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>hls downloader</title>
</head>
<body>
    
    <script src="https://cdn.jsdelivr.net/npm/m3u8-parser@4.2.0/dist/m3u8-parser.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/url-toolkit@2.1.6/src/url-toolkit.min.js"></script>


    <a href="#" download="output.ts" id="da">点击下载</a>
    <script src="./hls-downloader.js"></script>
</body>
</html>